#ifndef __LNW_COM_H__
#define __LNW_COM_H__

typedef struct lnw_com_s
{
    char *name;
    int (*write)(void *pbuf, int size);
    int (*read)(void *pbuf, int size);
    void *cache;
    int cache_size;
    int recv_size;
    int block;
    unsigned int timestamp;
} lnw_com_t;



#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif
#endif
